package day2;

import java.util.Scanner;

public class StudentTest {
    public static void main(String[] args) {
        StudentManagement2 sm = new StudentManagement2();
        Loop: while (true){
            //调用固定内容
            sm.print();
            Scanner sc = new Scanner(System.in);
            int option = sc.nextInt();
            switch (option){
                case 1:
                    sm.addStudent();
                    break;
                case 2:
                   // sm.deleteStudent();
                    break;
                case 3:
                    //sm.updateStudent();
                    break;
                case 4:
                    //sm.selectStudent();
                    break;
                case 0:
                    break Loop;
                default:
                    System.out.println("输入有误");
                    break;
            }
        }
        //获取用户的输入


    }
}
